﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="adminViewEvent.aspx.cs" Inherits="adminViewEvent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<!-- Mirrored from chimpstudio.co.uk/themeforest/club/club6/pink/reservation.html by HTTrack Website Copier/3.x [XR&CO'2010], Sat, 11 Jun 2011 13:05:43 GMT -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Club6</title>
<!-- // Css // -->
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/ddsmoothmenu.css" rel="stylesheet" type="text/css" />
<link href="css/jquery.fancybox-1.3.1.css" rel="stylesheet" type="text/css"  />
<!-- // Javascript // -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/contentslider.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="js/jquery.fancybox-1.3.1.js"></script>
<script type="text/javascript" src="js/jquery-uimin.js"></script>
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/AvantGarde_Bk_BT_400.font.js"></script>
<script type="text/javascript" src="js/misc.js"></script>
<script type="text/javascript" src="js/custom-form-elements.js"></script>
</head>
<body>
<!-- Header Section -->
<div id="topsec">
	 <div id="masthead">
        	<div class="logo"><a href="main.aspx"><img src="images/logo.png"  alt="" /></a></div>
			<div class="header_rightsec">
           		    
          </div>	        
			<div class="clear" ></div>
		<!-- navigation -->
       
        <div class="navigation">
        	<div class="navigation_left">&nbsp;</div>
            <div class="navigation_mid">
            	<div id="smoothmenu1" class="ddsmoothmenu">
				<ul>
                	<li><a href="main.aspx"><span>Home</span></a></li>
 					
                	
                    	
                	<li><a href="gallery.aspx"><span>Gallery</span></a></li>
                	<li><a href="reservation.aspx"><span>Make Reservation</span></a></li>
                	<li><a href="uploadPhoto.aspx"><span>upload Photos</span></a></li>
                    
                   
               </ul>
        	</div>
            </div>
            <div class="navigation_right">&nbsp;</div>
            
        </div>
    </div>
</div>
<!-- Wapper Section -->
<div id="wrapper" class=" mar1" >
   	<div id="wrapper_inner">
   	<!-- Crumb Section -->
  		<div id="crumb">
   			<a href="#">Home</a>
            <a class="active" href="#">Admin Panel</a>
        </div>
   		<!-- Banner  -->  
		<div id="bannerinner">
    		<a href="#"><img src="images/reservation_banner.gif"  alt="" /></a>
    	</div>
  		<!--Content Sec -->
       	<div id="content_sec">
			<h2 class="colr rheading">Krave Reservations</h2>
         	<div class="reservation_sec">
            	<div class="col1">
                	<h4 class="white">Enents Details</h4>
                    <div class="bdr">&nbsp;</div>
                    <form id="form1" runat="server">
                	<div class="reservation_form">
                    	<ul>
                        	<li>
                            	<label class="formfield">Event Id</label>
                            
                            	<label class="formfield">Organizer Name</label>
                          
                            	<label class="formfield">Statrt Time</label>
                            
                            	<label class="formfield">End Time</label>

                                <label class="formfield">Status</label>

                                
                            </li>    
                        </ul>
                        <ul>
                            <%
                                 
                                 
                                 for (int i = 0; i < al.Count; i++)
                                 {
                                     KraveEntities.Reservation res = new KraveEntities.Reservation();
                                     res = (KraveEntities.Reservation)al[i];
                                     
                                     Response.Write("<li>");
                                     
                                     Response.Write("<label class=formfield>" + res.Id + " </label>");
                                    
                                     Response.Write("<label class=formfield>" + res.Name + " </label>");
                                     
                                     Response.Write("<label class=formfield>" + res.StartTime + " </label>");
 
                                     Response.Write("<label class=formfield>" + res.EndTime + " </label>");

                                     Response.Write("<label class=formfield>" + res.Status + " </label>");
                                     
                                     Response.Write("</li>");
                                  }
                                 
                            %> 
                        </ul>
                    	<div class="reservation_form">
                    		
                    	
                            <ul> 
                                <li>
                                    <label>Enter an Id to view Detail</label>
                                </li>
                    		    <li>
                            	    <label class="formfield">Event ID &nbsp&nbsp&nbsp</label>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Enter Event Id" ControlToValidate="TextBox1" ForeColor="#CC0000"></asp:RequiredFieldValidator>
                            	    <asp:TextBox ID="TextBox1" runat="server" CssClass="textfield1"></asp:TextBox>
                                    <asp:Button ID="Button1" runat="server" Text="View"  BackColor="#FF9966" 
                                        Width="50" Height="30" Font-Size="Small" Font-Strikeout="False" 
                                         onclick="Button1_Click"/>
                                  
                                    <asp:Button ID="Button2" runat="server" Text="Print" 
                                        OnClientClick="javascript:window.print();" BackColor="#CC0000"  Width="50" Height="30"
                                        ForeColor="#CCCCFF" onclick="Button2_Click" />

                                </li>
                           </ul>
                    </div>
                            
                          
                    </div>
                
                </form>
                </div>
                </div>
                </div>
               
                <!--Col2 -->
                
<!-- Bottom Section -->

</body>

</html>
